<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($webname); ?></title>
<link href="__PUBLIC__/Admin/images/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/common.js"></script>
</head>
<body>
<div class="main" >
  <div class="body">
    <div class="breadcrumb"> <span class="dh">
      <?php if(is_array($data[breadcrumbs])): $i = 0; $__LIST__ = $data[breadcrumbs];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="<?php echo ($vo["href"]); ?>"><?php echo ($vo["text"]); ?></a><?php echo ($vo["separator"]); endforeach; endif; else: echo "" ;endif; ?>
      </span> <span class="button"><a href="#" onClick="$('#form').submit();">确认</a><a href="#" onClick="location='/admin.php'">取消</a></span> </div>
    <form action="<?php echo ($data[action]); ?>" method="post" id="form">
      <ul class="form_list">
        <li><span class="ti"><?php echo ($config[upload_ftype][title]); ?>：</span><input type="text" name="fields['upload_ftype']" value="<?php echo ($config[upload_ftype][content]); ?>" class="input" size="50" /><span class="ds"><?php echo ($config[upload_ftype][discript]); ?></span></li>
        <li><span class="ti"><?php echo ($config[upload_size][title]); ?>：</span><input type="text" name="fields['upload_size']" value="<?php echo ($config[upload_size][content]); ?>" class="input" size="10" /><span class="ds"><?php echo ($config[upload_size][discript]); ?></span></li>
        <li><span class="ti"><?php echo ($config[upload_limit][title]); ?>：</span><input type="text" name="fields['upload_limit']" value="<?php echo ($config[upload_limit][content]); ?>" class="input" size="10" /><span class="ds"><?php echo ($config[upload_limit][discript]); ?></span></li>
        <li><span class="ti"><?php echo ($config[watermark_enabled][title]); ?>： </span>
          <input type="radio" name="fields['watermark_enabled']" value="true" class="input" <?php if($config[watermark_enabled][content] == 'true'): ?>checked="checked"<?php else: endif; ?> /><label>开启</label>
          <input type="radio" name="fields['watermark_enabled']" value="false" class="input" <?php if($config[watermark_enabled][content] == 'false'): ?>checked="checked"<?php else: endif; ?> /><label>关闭</label>
        <li><span class="ti"><?php echo ($config[watermark_words][title]); ?>：</span>
          <input type="text" name="fields['watermark_words']" size="30" class="input" value="<?php echo ($config[watermark_words][content]); ?>" />
          <span class="ds"><?php echo ($config[watermark_words][discript]); ?></span></li>
        <li><span class="ti"><?php echo ($config[watermark_color][title]); ?>：</span>
          <input type="text" name="fields['watermark_color']" size="8" class="input" value="<?php echo ($config[watermark_color][content]); ?>" />
          <span class="ds"><?php echo ($config[watermark_color][discript]); ?></span></li>
        <li><span class="ti"><?php echo ($config[watermark_pct][title]); ?>：</span>
          <input type="text" name="fields['watermark_pct']" size="4" class="input" datatype="number" value="60" />
          <span class="ds"><?php echo ($config[watermark_pct][discript]); ?></span></li>
        <li><span class="ti"><?php echo ($config[watermark_pos][title]); ?>：</span>
              <input type="radio" name="fields['watermark_pos']" class="input" value="1" <?php if($config[watermark_pos][content] == '1'): ?>checked="checked"<?php else: endif; ?> >
              <label>顶部居左</label>
              <input type="radio" name="fields['watermark_pos']" class="input" value="2" <?php if($config[watermark_pos][content] == '2'): ?>checked="checked"<?php else: endif; ?> >
              <label>顶部居中</label>
              <input type="radio" name="fields['watermark_pos']" class="input" value="3" <?php if($config[watermark_pos][content] == '3'): ?>checked="checked"<?php else: endif; ?> >
              <label>顶部居右</label>
              <input type="radio" name="fields['watermark_pos']" class="input" value="4" <?php if($config[watermark_pos][content] == '4'): ?>checked="checked"<?php else: endif; ?> >
              <label>中部居左</label>
              <input type="radio" name="fields['watermark_pos']" class="input" value="5" <?php if($config[watermark_pos][content] == '5'): ?>checked="checked"<?php else: endif; ?> >
              <label>中部居中</label>
              <input type="radio" name="fields['watermark_pos']" class="input" value="6" <?php if($config[watermark_pos][content] == '6'): ?>checked="checked"<?php else: endif; ?> >
              <label>中部居右</label>
              <input type="radio" name="fields['watermark_pos']" class="input" value="7" <?php if($config[watermark_pos][content] == '7'): ?>checked="checked"<?php else: endif; ?> >
              <label>底部居左</label>
              <input type="radio" name="fields['watermark_pos']" class="input" value="8" <?php if($config[watermark_pos][content] == '8'): ?>checked="checked"<?php else: endif; ?> >
              <label>底部居中</label>
              <input type="radio" name="fields['watermark_pos']" class="input" value="9" <?php if($config[watermark_pos][content] == '9'): ?>checked="checked"<?php else: endif; ?> >
              <label>底部居右</label>
          <span class="ds"></span></li>
      </ul>
    </form>
  </div>
</div>
<div class="footer"><?php echo ($copyright); ?></div>
</body>
</html>